constraint layout: Notice when guides change
authorEmmanuele Bassi <ebassi@gnome.org>
Sun, 30 Jun 2019 22:59:04 +0000 (23:59 +0100)
committerEmmanuele Bassi <ebassi@gnome.org>
Sun, 30 Jun 2019 23:10:11 +0000 (00:10 +0100)
We need to queue a resize here.

gtk/gtkconstraintguide.c

index 608c253fcec211600cd8e13bb5aa10537588e17b..00fb30eb82e65981fd8e184546a8def2805e517c 100644 (file)
@@ -166,6 +166,8 @@ gtk_constraint_guide_update_constraint (GtkConstraintGuide *guide,
                                               gtk_constraint_expression_new (guide->values[index]),
                                               GTK_CONSTRAINT_WEIGHT_REQUIRED);
     }
+
+  gtk_layout_manager_layout_changed (GTK_LAYOUT_MANAGER (guide->layout));
 }
 
 void